﻿using System.ComponentModel;
using System.Xml.Serialization;

namespace Landpy.CruiseControlNet.FacadeInterface.ConfigurationModule
{
    public class CronTrigger : Trigger
    {
        [Category("Basic")]
        [Description("The expression in Cron format when to trigger the build see http://code.google.com/p/ncrontab/wiki/CrontabExpression for an example.")]
        [XmlElement("cronExpression")]
        public string CronExpression { get; set; }

        public CronTrigger()
            : base(TriggerType.CronTrigger)
        {
        }
    }
}